PhpMyAdmin\ConfigStorage\Relation D

Total Complexity 265
Dependencies 11
Dependents 78
Total lines 1,751
Lines of code 1,134
Logical lines of code 505
Comment lines 352
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
fillRelationParamsWithTableNames()
B
42 22 50
getForeigners()
B
41 21 51
getForeignData()
B
37 18 73
fixPmaTables()
B
35 17 85
foreignDropdown()
B
40 18 63
buildForeignDropdown()
B
39 17 65
checkRelationsParam()
B
36 15 81
arePmadbTablesDefined()
B
52 19 21
checkTableAccess()
A
42 14 52
renameTable()
A
36 8 102
checkChildForeignReferences()
A
45 11 42
getDisplayField()
A
48 8 33
setHistory()
S
47 6 38
getRelationParameters()
S
57 7 16
tryUpgradeTransformations()
S
46 5 40
searchColumnInForeigners()
S
53 5 22
getTables()
S
58 5 14
renameField()
S
47 3 41
purgeHistory()
S
52 4 25
getHistory()
S
54 4 22
getDbComment()
S
56 4 17
getDefaultPmaTableNames()
S
57 4 16
getDbComments()
S
59 4 14
getComments()
S
59 4 14
setDbComment()
S
51 3 28
createPmaDatabase()
S
53 3 24
getChildReferences()
S
54 3 23
initRelationParamsCache()
S
62 4 10
getRelationsAndStatus()
S
62 2 12
createPage()
S
62 2 11
renameSingleTable()
S
57 1 17
getConfigurationStorageDbName()
S
71 2 5
canAccessStorageTable()
S
74 1 4
__construct()
S
81 1 3